// spin attack
// no aruguments?
argument0;

var inst;
var i;

if(spinAttack == 1)
{
for(i=0;i<= 360; i+= 30)
{
inst = instance_create(x, y, asteroid1_obj);
    with (inst)
        {
            inst.speed = 5;
            inst.direction = i;
        }
}   
}

self.spinAttack = 0;
